using FreeSql.DatabaseModel;using System;
using System.Collections;
using System.Collections.Generic;
using System.Linq;
using System.Reflection;
using System.Threading.Tasks;
using Newtonsoft.Json;
using FreeSql.DataAnnotations;

namespace LdtJudge.DataEngine.Model.DataModel.SystemtableModel {

	[JsonObject(MemberSerialization.OptIn), Table(DisableSyncStructure = true)]
	public partial class SYS_Court {

		[JsonProperty, Column(DbType = "varchar(32)", IsPrimary = true, IsNullable = false)]
		public string CourtID { get; set; }

		/// <summary>
		/// 地址
		/// </summary>
		[JsonProperty, Column(StringLength = 200)]
		public string CH_Address { get; set; }

		/// <summary>
		/// 对应行政区划
		/// </summary>
		[JsonProperty, Column(StringLength = 50)]
		public string CH_AdministrativeRegion { get; set; }

		/// <summary>
		/// 区划代码
		/// </summary>
		[JsonProperty, Column(DbType = "varchar(10)")]
		public string CH_AdministrativeRegionCode { get; set; }

		/// <summary>
		/// 市
		/// </summary>
		[JsonProperty, Column(StringLength = 60)]
		public string CH_City { get; set; }

		/// <summary>
		/// 法院编号
		/// </summary>
		[JsonProperty, Column(DbType = "varchar(100)")]
		public string CH_Code { get; set; }

		/// <summary>
		/// 县（区）
		/// </summary>
		[JsonProperty, Column(StringLength = 60)]
		public string CH_CountyAndDistrict { get; set; }

		/// <summary>
		/// 法院细分类
		/// </summary>
		[JsonProperty, Column(DbType = "varchar(50)")]
		public string CH_CourtSonTypeID { get; set; }

		/// <summary>
		/// 法院类型
		/// </summary>
		[JsonProperty, Column(DbType = "varchar(32)")]
		public string CH_CourtTypeID { get; set; }

		/// <summary>
		/// 法院级别
		/// </summary>
		[JsonProperty, Column(DbType = "varchar(32)")]
		public string CH_LevelID { get; set; }

		/// <summary>
		/// 直播地址
		/// </summary>
		[JsonProperty, Column(StringLength = 200)]
		public string CH_LiveSite { get; set; }

		/// <summary>
		/// 法院名称
		/// </summary>
		[JsonProperty, Column(StringLength = 100, IsNullable = false)]
		public string CH_Name { get; set; }

		/// <summary>
		/// 官方代码
		/// </summary>
		[JsonProperty, Column(StringLength = 100)]
		public string CH_OfficialCode { get; set; }

		[JsonProperty, Column(StringLength = 200)]
		public string CH_OfficialWebsite { get; set; }

		/// <summary>
		/// 父级ID
		/// </summary>
		[JsonProperty, Column(DbType = "varchar(32)")]
		public string CH_ParentID { get; set; }

		/// <summary>
		/// 邮政编码
		/// </summary>
		[JsonProperty, Column(DbType = "varchar(50)")]
		public string CH_PostalCode { get; set; }

		[JsonProperty]
		public int? CH_ProvCourtCode { get; set; }

		/// <summary>
		/// 省
		/// </summary>
		[JsonProperty, Column(StringLength = 50)]
		public string CH_Province { get; set; }

		/// <summary>
		/// 备注
		/// </summary>
		[JsonProperty, Column(DbType = "varchar(2000)")]
		public string CH_Remarks { get; set; }

		/// <summary>
		/// 法院代字
		/// </summary>
		[JsonProperty, Column(StringLength = 10)]
		public string CH_RepresentativeWord { get; set; }

		/// <summary>
		/// 序号
		/// </summary>
		[JsonProperty]
		public int? CH_SerialNumb { get; set; }

		/// <summary>
		/// 法院简称
		/// </summary>
		[JsonProperty, Column(StringLength = 3000)]
		public string CH_ShortName { get; set; }

		/// <summary>
		/// 法院法标代码
		/// </summary>
		[JsonProperty]
		public int? CH_StandardCode { get; set; }

		/// <summary>
		/// 法院标准名称
		/// </summary>
		[JsonProperty, Column(StringLength = 300)]
		public string CH_StandardName { get; set; }

		/// <summary>
		/// 法院状态
		/// </summary>
		[JsonProperty]
		public int? CH_StausFlag { get; set; }

		/// <summary>
		/// 法院尾部
		/// </summary>
		[JsonProperty, Column(StringLength = 300)]
		public string CH_Suffix { get; set; }

		/// <summary>
		/// 联系方式
		/// </summary>
		[JsonProperty, Column(DbType = "varchar(50)")]
		public string CH_TelNumb { get; set; }

		/// <summary>
		/// 更新时间
		/// </summary>
		[JsonProperty]
		public DateTime? UpdateTime { get; set; }

	}

}
